﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

namespace Admin.NET.Application;

/// <summary>
/// 进货退货输出参数
/// </summary>
public class ReturnordersDto
{
    /// <summary>
    /// 进货订单编号
    /// </summary>
    public string IncomingOrdersIdFkColumn { get; set; }
    
    /// <summary>
    /// 供应商id
    /// </summary>
    public string VendorIdFkColumn { get; set; }
    
    /// <summary>
    /// 进货部门
    /// </summary>
    public string DepartmentIdFkColumn { get; set; }
    
    /// <summary>
    /// 制单人
    /// </summary>
    public string UserIdFkColumn { get; set; }
    
    /// <summary>
    /// 所在部门
    /// </summary>
    public string OrganizationsIdFkColumn { get; set; }
    
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 退货单号
    /// </summary>
    public string? ReturnCode { get; set; }
    
    /// <summary>
    /// 单据状态
    /// </summary>
    public int? Audit { get; set; }
    
    /// <summary>
    /// 退货时间
    /// </summary>
    public DateTime? ReturnTime { get; set; }
    
    /// <summary>
    /// 进货订单编号
    /// </summary>
    public long? IncomingOrdersId { get; set; }
    
    /// <summary>
    /// 供应商id
    /// </summary>
    public long? VendorId { get; set; }
    
    /// <summary>
    /// 联系人
    /// </summary>
    public string? Contact { get; set; }
    
    /// <summary>
    /// 联系方式
    /// </summary>
    public int? ContactInformation { get; set; }
    
    /// <summary>
    /// 进货部门
    /// </summary>
    public long? DepartmentId { get; set; }
    
    /// <summary>
    /// 进货人
    /// </summary>
    public string? IncomingPeopleId { get; set; }
    
    /// <summary>
    /// 退货金额
    /// </summary>
    public decimal? ReturnQuantity { get; set; }
    
    /// <summary>
    /// 退货商品
    /// </summary>
    public string? ReturnedGoods { get; set; }
    
    /// <summary>
    /// 制单人
    /// </summary>
    public long? UserId { get; set; }
    
    /// <summary>
    /// 所在部门
    /// </summary>
    public long? OrganizationsId { get; set; }
    
    /// <summary>
    /// 制单时间
    /// </summary>
    public DateTime? MakeData { get; set; }
    
    /// <summary>
    /// 审核人
    /// </summary>
    public string? Reviewer { get; set; }
    
    /// <summary>
    /// 审核时间
    /// </summary>
    public DateTime? ReviewTime { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    public string? Remarks { get; set; }
    
    /// <summary>
    /// 上传文件
    /// </summary>
    public string? UploadFile { get; set; }
    
    /// <summary>
    /// 软删除
    /// </summary>
    public bool IsDelete { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }
    
    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }
    
    /// <summary>
    /// 创建者Id
    /// </summary>
    public long? CreateUserId { get; set; }
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者Id
    /// </summary>
    public long? UpdateUserId { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }
    
}
